//
//  EquipInfo.h
//  SpaceStorm
//
//  Created by 祥 雍 on 13-5-26.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//

#import "cocos2d.h"
#import "TBXML.h"

@interface EquipInfo : NSObject
{
    int _equipId;
    int _equipBig;
    int _equipMid;
    int _equipSmall;
    int _level;
    int _groupId;
    NSString* _name;
    int _flog;
    int _gold;
    int _buyGold;
    int _sellGold;
    int _equipValue;
    int _needSlot;
    int _type;
    
    int _param1;
    int _param2;
    int _param3;
    int _param4;
    float _param5;
    int _param6;
    int _param7;
    int _param8;
    
    int _delayTime;
    int _actionId;
    NSString* _icon;
    int _modelId;
    NSString* _description;
    NSString* _BGDescription;
}



@property (readwrite) int equipId;//装备id	
@property (readwrite) int equipBig;//装备大类	
@property (readwrite) int equipMid;//装备中类	
@property (readwrite) int equipSmall;//装备细类	
@property (readwrite) int level;//科技等级	
@property (readwrite) int groupId;//小组编号	
@property (readwrite, retain) NSString* name;//装备名	
@property (readwrite) int flag;//装备标志	
@property (readwrite) int gold;//金币	
@property (readwrite) int buyGold;//买入军费	
@property (readwrite) int sellGold;//卖出军费	
@property (readwrite) int equipValue;//装配值	
@property (readwrite) int needSlot;//所需槽位	
@property (readwrite) int type;//类型	

@property (readwrite) int param1;//参数1功能	
@property (readwrite) int param2;//参数2功能	
@property (readwrite) int param3;//参数3功能	
@property (readwrite) int param4;//参数4功能	
@property (readwrite) float param5;//参数5功能	
@property (readwrite) int param6;//参数6功能	
@property (readwrite) int param7;//参数7功能	
@property (readwrite) int param8;//参数8功能	

@property (readwrite) int delayTime;//延迟启动时间	
@property (readwrite) int actionId;//装备AI脚本	
@property (readwrite, retain) NSString* icon;//图标	
@property (readwrite) int modelId;//模型	
@property (readwrite, retain) NSString* description;//说明	
@property (readwrite, retain) NSString* BGDescription;//装备背景		

+(id) infoWithTbxml:(TBXMLElement *)tbxml;
-(id) initWithTbxml:(TBXMLElement *)tbxml;

@end
